POV-Ray : Newsgroups : povray.newusers : trace function question : Re: trace function question Server Time
29 Jul 2024 02:22:51 EDT (-0400)
  Re: trace function question  
From: serfurj
Date: 17 Jan 2007 01:30:01
Message: <web.45adc1ac1c5723b375f97caf0@news.povray.org>
Jim Charter <jrc### [at] msncom> wrote:
> serfurj wrote:
> > Hi, I'm trying to make the following script place the cylinders evenly on
> > the sphere, but they're showing up clustered.  Any idea why?  How can I
> > place them evenly on the sphere?
> >
>
>
> Your Start positions are clustered, specifically in the positive
> quadrant, that is why.  Also note that they are posibly < the radius of
> your sphere
>
> You might get to adequately even results most quickly by using the
> "vrotate" function
>
> ie #local Start = vrotate ( <0,0,-2>, <rand(S)*360,rand(S)*360,0> )
> *remember that the triplet specifying the rotation is in degrees
>

Not sure I understand it yet, but that was what I was looking for.  Thanks
for the help!


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.